/*******************************************************************************
 * Copyright (c) 2015, 2025 Lablicate GmbH.
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 * 
 * Contributors:
 * Philip Wenig - initial API and implementation
 * Alexander Kerner - implementation
 *******************************************************************************/
package org.eclipse.chemclipse.msd.model.implementation;

import org.eclipse.chemclipse.msd.model.core.AbstractIon;
import org.eclipse.chemclipse.msd.model.core.IIon;

/**
 * This is an immutable zero ion.
 * m/z = 0
 * intensity = 0
 *
 */
public class ImmutableZeroIon extends AbstractIon implements IIon {

	/**
	 * Renew the serialVersionUID any time you have changed some fields or
	 * methods.
	 */
	private static final long serialVersionUID = 3064769810691237713L;

	public ImmutableZeroIon() {

		super(TIC_ION, ZERO_INTENSITY);
	}

	@Override
	public boolean setAbundance(float abundance) {

		return false;
	}

	@Override
	public boolean setIon(double ion) {

		return false;
	}
}
